package itheima.ZuoYe03;

public class Demo01 {
    public static void main(String[] args) {
        new Thread(){
            @Override
            public void run() {
                for (int i = 0; i < 1000; i++) {
                    System.out.println("i:"+i);
                }
            }
        }.start();

        new Thread(){
            @Override
            public void run() {
                for (int k = 0; k < 1000; k++) {
                    System.out.println("k:"+k);
                }
            }
        }.start();
    }
}
